#dialog .b {
  background:url(../dialog/b.png);
}

#dialog .tl {
  background:url(../dialog/tl.png);
}

#dialog .tr {
  background:url(../dialog/tr.png);
}

#dialog .bl {
  background:url(../dialog/bl.png);
}

#dialog .br {
  background:url(../dialog/br.png);
}

#dialog {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: left;
}

#dialog .popup {
  position: relative;
}

#dialog table {
  border-collapse: collapse;
}

#dialog td {
  border-bottom: 0;
  padding: 0;
}

#dialog .body {
  background: #fff;
  width: 522px;
}

#dialog .loading {
  text-align: center;
}

#dialog .image {
  text-align: center;
}

#dialog img {
  border: 0;
  margin: 0;
}

#dialog .footer {
  border-top: 1px solid #DDDDDD;
  padding-top: 5px;
  margin-top: 10px;
  text-align: right;
}

#dialog .tl, #dialog .tr, #dialog .bl, #dialog .br {
  height: 10px;
  width: 10px;
  overflow: hidden;
  padding: 0;
}

#dialog_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.dialog_hide {
  z-index:-100;
}

.dialog_overlayBG {
  background-color: #000;
  z-index: 99;
}

#dialog_wrap{
  border-color: #3B5998;
  border-style: solid;
  border-width: 1px;
}
.uiDialogForm{
  padding: 0;
  margin: 0;
  border: none;
}
.uiDialogContent{
  padding: 10px;
}
.uiDialogTitle{
  margin: 0;
  padding: 5px 10px;
  background:#6D84B4;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;  
}
.uiDialogFooter{
  background: #F2F2F2;
  border-top: 1px solid #CCCCCC;
  padding: 8px 10px;
  position: relative;
  text-align: right;
}

* html #dialog_overlay { /* ie6 hack */
                          position: absolute;
                          height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
